Application programming interface for a registry

ABSTRACT

The disclosed embodiments relate to a system that facilitates developing applications in a component-based software development environment. This system provides an execution environment comprising instances of application components and a registry that maps names to instances of application components. Upon receiving a call to register a mapping between a name and an instance of an application component, the system updates the registry to include an entry for the mapping. Moreover, upon receiving a call to be notified about registry changes for a name, the system updates the registry to send a notification to a caller when a registry change occurs for the name.

RELATED APPLICATIONS

This application is a continuation of U.S. patent application Ser. No.16/262,793 filed Jan. 30, 2019, entitled “Registry for Mapping Names toComponent Instances Using Configurable Bindings and PointerDefinitions,” which is itself a continuation of U.S. patent applicationSer. No. 16/028,208 filed Jul. 5, 2018, now U.S. Pat. No. 10,235,221,which is itself a continuation of U.S. patent application Ser. No.14/305,661 filed on Jun. 16, 2014, now U.S. Pat. No. 10,061,626. U.S.patent application Ser. No. 14/305,661 is a continuation-in-part ofpending U.S. patent application Ser. No. 14/266,840 filed on May 1,2014, now U.S. Pat. No. 9,229,985, which itself is a continuation ofU.S. patent application Ser. No. 13/910,811 filed on Jun. 5, 2013, nowU.S. Pat. No. 8,756,614. Each of the above-listed applications is herebyincorporated by reference.

RELATED ART

The disclosed embodiments generally relate to techniques for developingapplications for computer systems. More specifically, the disclosedembodiments relate to an application framework that provides a centralregistry for mapping names to instances of application components.

BACKGROUND

Recent advances in software engineering have been facilitated bycomponent-based software engineering techniques that encapsulateapplication functionality into a set of reusable software components.Software components, which are often implemented as objects, comprise aset of semantically related functions and data and may existautonomously from other components in a computer system. Moreover,software components can produce or consume events to facilitateevent-driven architectures (EDAs), which are useful for implementinguser interfaces.

Software components typically provide interfaces specifying servicesthat other components (and other application code) can utilize.Moreover, software components are “replaceable,” which means that anoriginal component instance can be replaced with a new componentinstance (at design time or run-time) if the new component instanceprovides at least the same functionality as the original componentinstance.

One complication that arises during development of a component-basedsoftware system is that when a new component instance is developed toreplace an original component instance, all of the components thataccessed the original component instance must be modified to access thenew component instance. If many components need to be modified, thismodification process can involve a lot of time-consuming manual work andcan also introduce errors into the system.

Hence, what is needed is a software-development system that facilitatesreplacing an original component instance with a new component instancewithout having to manually modify all of the code that accesses theoriginal component instance.

BRIEF DESCRIPTION OF THE FIGURES

FIG. 1A illustrates several application components in a component-basedsoftware system in accordance with the disclosed embodiments.

FIG. 1B illustrates how a registry can be used in a component-basedsoftware system in accordance with the disclosed embodiments.

FIG. 1C presents a flow chart illustrating how the system processescalls related to the central registry in accordance with the disclosedembodiments.

FIG. 1D presents a flow chart illustrating how a registry change for aname is handled by a callback function in accordance with the disclosedembodiments.

FIG. 1E illustrates a block diagram of an app provision interactionsystem in accordance with the disclosed embodiments.

FIG. 2 illustrates exemplary representations of a variety of appfeatures in accordance with the disclosed embodiments.

FIG. 3 illustrates a block diagram of an app management system inaccordance with the disclosed embodiments.

FIGS. 4A-4B illustrate examples of snapshots of dynamic maps between appfeatures and pointers to reflect current dependencies in accordance withthe disclosed embodiments.

FIG. 5 illustrates an example representation identifying a history ofevents pertaining to a map of interrelated features and dynamic pointersin accordance with the disclosed embodiments.

FIG. 6 illustrates an example representation identifyinginterrelationships between app features in accordance with the disclosedembodiments.

FIG. 7 illustrates a flowchart of an embodiment of a process forfacilitating app development in accordance with the disclosedembodiments.

FIG. 8 illustrates a flowchart of an embodiment of a process fortracking feature and pointer dependencies in a central registry inaccordance with the disclosed embodiments.

FIG. 9 illustrates a flowchart of an embodiment of a process fordynamically updating a first feature based on a dynamic pointer'sdefinition in accordance with the disclosed embodiments.

FIG. 10 illustrates a flowchart of an embodiment of a process fordynamically updating a first feature based on a dynamic pointer'sdefinition in accordance with the disclosed embodiments.

FIG. 11 illustrates a flowchart of an embodiment of a process fordynamically updating a first feature based on a dynamic pointer'sdefinition in accordance with the disclosed embodiments.

FIG. 12 illustrates a flowchart of an embodiment of a process fordynamically updating a first feature based on a definition of a newlyreferenced dynamic pointer in accordance with the disclosed embodiments.

FIG. 13 illustrates a flowchart of an embodiment of a process fordynamically updating a first feature based on a change to a bound secondfeature in accordance with the disclosed embodiments.

FIG. 14 illustrates a flowchart of an embodiment of a process fortracking and presenting changes in the central registry in accordancewith the disclosed embodiments.

FIG. 15 illustrates a flowchart of an embodiment of a process foridentifying interrelationships between features and dynamic pointers inaccordance with the disclosed embodiments.

FIG. 16 illustrates a flowchart of an embodiment of a process foridentifying interrelationships between features and dynamic pointers inaccordance with the disclosed embodiments.

FIG. 17 shows a block diagram of an embodiment of an app data managementsystem in accordance with the disclosed embodiments.

FIG. 18 illustrates a flowchart of an embodiment of a process forstoring and using big data in accordance with the disclosed embodiments.

DETAILED DESCRIPTION Overview

The disclosed embodiments relate to the design of an applicationframework that enables instances of application components to refer toand communicate with each other through a central registry. This centralregistry stores mappings from names to instances of applicationcomponents, and enables application components and external tools to benotified of changes to specific mappings in the registry when thechanges happen.

For example, consider a web page with the following components:

1. A search query—the query;2. A chart that will display results from the query—the chart; and3. A table that will display results from the query—the table.

In the above three components, there is an implicit dependency chain:the query depends on nothing, but both the chart and the table depend onthe query and do not depend on each other.

In a conventional software-development environment, the programmer mustcreate each component in a specific order to satisfy the dependencychain. In the example above, the programmer first has to first createthe query, and only after the query is created the programmer can createthe chart and table. As the dependency chain becomes more complex, theserestrictions can become more and more complicated to follow and thesystem can become much harder to maintain.

By providing a central registry that maps names to instances ofapplication components, when the programmer creates the chart and table,instead of providing the actual instance of the query, the programmercan simply provide a name identifying the query. Rather than the chartand table being bound to a specific instance of a query, they are boundto a specific name of the query. The chart and table components are thenprogrammed to be notified of any changes on that name, and can reactappropriately. For example, suppose we have the following creationorder:

1. Create a table with name “mytable” with a query called “myquery”;2. Create a chart with name “mychart” with a query called “myquery; and3. Create a query called “myquery”.

When the query is finally created in step 3, the registry will notifyboth the table and the chart and they will make use of the newlyavailable instance appropriately. Note that this logic will worktransparently with any ordering, even if the query (with name “myquery”)had been created prior to the chart and table being created. Hence, byusing this system, we have decoupled the dependency chain from thecreation order, and have allowed for indirect binding of componentinstances to each other.

In the above example, imagine we have a second search query, query2 andwe want to be able dynamically switch between query and query2, withoutneeding to create new instances of the chart and the table. In aconventional software-development environment, we would have to manuallygo into each individual component and give it the new query instance.This is both error-prone (you may forget a particular component) andcumbersome (different components may expose different interfaces forpassing in a new query instance, or none at all). By using the centralregistry, however, we can simply change the instance that the “myquery”name points to in the Registry. The associated components will then benotified of this change and can transparently make use of the new queryinstance.

Continuing with the example above, suppose we want the chart and thetable to display information from a different query. Instead of havingto change the raw instances that each one of them points to, we cansimply change the name of the query they are using (wherein query isregistered on “myquery” and query2 is registered on “myotherquery”). Sofor example, we can tell the table to change the name from “myquery” to“myotherquery.” The table will then dynamically pick up any queryinstance at that name, whether it is already created or will be createdin the future.

Extending the above example, suppose we want to be able to examine thestate of the page and its components at any time. For example, we mightwant to know which search queries particular tables are using. With aconventional software-development system, this could be quitecomplicated without intimate knowledge about the structure of the pageand the implementation of the components, and may be impossible if thisinformation is not exposed in some way. Hence, it becomes the duty ofthe writer of the page (and possibly the writer of the components too)to expose this information. However, by using a central registry, weobtain the ability to do this introspection for free. For example, wecan easily ask the following of the registry:

1. What components exist on the page?2. What components are linked to other components (along with identitiesof the other components)?3. Send notifications when particular components change.

Note that the writer of the page has to do nothing except use theregistry, and this introspection ability becomes available at noperformance cost.

In a conventional component-based software-development environment, theabove table, chart and query example can be implemented as isillustrated in FIG. 1A, wherein a table instance 102 and a chartinstance 103 both access an interface exposed by a query instance 104.In this example, if a programmer would like to replace the queryinstance 104 with a new query instance, the programmer would have tomanually modify the code in both the table instance 102 and the chartinstance 103 to access the new query instance.

In contrast, FIG. 1B illustrates how the same example can be implementedusing a central registry 107 that keeps track of mappings between namesand component instances. In this case, central registry 107 contains: anentry 108 that maps the name “mytable” to table instance 102; an entry111 that maps the name “mychart” to chart instance 103; and an entry 109that maps the name “myquery” to query instance 104.

In this example, table instance 102 and chart instance 103 still bothaccess the interface for query instance 104. However, both tableinstance 102 and chart instance 103 are programmed to access queryinstance 104 through the name “myquery,” instead of being hard-coded toaccess the query instance 104 directly. This means that table instance102 and chart instance 103 will both perform a lookup in centralregistry 107 based on the name “myquery” to access query instance 104.Also, table instance 102 and chart instance 103 are programmed torequest to be notified if the mapping for “myquery” to query instance104 changes. They are also programmed to deal with such mapping changesif notified. Hence, if the entry for “myquery” 109 in central registry107 is updated to map to another query instance, table instance 102 andchart instance 103 will be automatically updated to access the new queryinstance.

In some embodiments, the system provides an application-programminginterface (API) to facilitate the above-described accesses to centralregistry 107. For example, an exemplary API can define the followingfunctions:

(1) registerinstance(name, component)—creates or updates a registryentry to map the name to the component;(2) revokeInstance(name)—deletes a registry entry for the name;(3) hasInstance(name)—returns a Boolean value indicating whether anentry for the name exists in the registry;(4) getInstance(name)—returns a reference to a component that is mappedby the directory to name;(5) onChange(name, callback)—when an entry for name is modified in theregistry, this function causes a “callback” function to be called (ifthe registry entry for the name has been modified to map the name to anew component instance, wherein a reference to the new componentinstance is an input parameter to the callback function);(6) getInstances( )—returns all instances contained in entries in theregistry; and(7) getInstanceNames( )—returns all names contained in entries in theregistry.

Note that functions (1)-(5) are used by programmers to write code thatautomatically handles changes to registry entries, and functions (6)-(7)are useful for obtaining diagnostic information from central registry107. Note that an empty registry entry gets created during an initialstartup phase for an execution environment, and subsequent calls toRegisterInstance( ) or OnChange( ) create and/or modify entries in theregistry.

During operation of the above-described system, functions (1)-(5) can becalled as is illustrated in the flow chart that appears in FIG. 1C. Morespecifically, upon receiving a call to register a mapping between a nameand an instance of an application component (e.g., a call toregisterInstance( )), the system creates or updates a registry entry forthe mapping (step 122). Upon receiving a call to revoke a mappingbetween a name and an instance of an application component (e.g., a callto revokeInstance( )), the system removes an entry for the mapping fromthe registry (step 124). Upon receiving a call to determine whether theregistry includes an entry for a name (e.g., a call to hasInstance( )),the system looks up the name in the registry, returns TRUE if the entryexists, and otherwise returns FALSE (step 126). Upon receiving a call toresolve a name (e.g., a call to getInstance( )), the system looks up anentry for the name in the registry, and returns a reference to aninstance of an application component contained in the entry (step 127).Finally, upon receiving a call to be notified about registry changes fora name (e.g., a call to onChange( )), the system updates the registry tosend a notification to a caller when a registry change occurs for thename (step 128).

When a calling function, which previously made a call to be notified ofregistry changes for a name, subsequently receives a notification fromthe registry that the name has been remapped to a new instance, thecalling function is configured to update one or more referencesassociated with the name to point to the new instance. Morespecifically, referring to the flow chart illustrated in FIG. 1D, when anotification about a registry change for a name is sent, the systemexecutes a callback function that receives an input parameter containinga reference to the a new instance that was mapped to the name by theregistry change (step 132). Then, the callback function updates one ormore references associated with the name to point to the new instance(step 134).

Additional details about implementations of the above-described systemare discussed further below with reference to FIGS. 1E-18. In thefollowing discussion, the term “application component” is also referredto as an “object” or a “feature,” the term “name” is also referred to asa “dynamic identifier” or a “dynamic pointer,” and the term “mapping” isalso referred to as a ‘link.”

System Details

In accordance with the teachings provided herein, systems and methodsfor using a central registry to facilitate app development and to manageand use dynamic pointers are provided. A developer creates a firstfeature (e.g., chart or table) that references a dynamic pointer. Thepointer is defined as pointing to a second feature (e.g., a query thatreturns “a value” which can be responsive to or identifying user input).The reference can be created before defining the pointer or theconverse. The reference and pointer definition are recorded in a centralregistry. The first feature is then bound to the pointer and secondfeature and registered to receive notifications of changes to thepointer and/or second feature. The first feature is dynamically updatedbased on a current value of the second feature. For example, a cell in atable can reflect a selected value of a query, or options in a firstquery can be determined based on a selected value for a second query.Thus, the developer need not repeatedly revise the first feature toaccommodate each second-feature value.

In one feature, the pointer definition may subsequently change (e.g., topoint to a third feature). The first feature will be notified of thechange and its registrations will be adjusted appropriately. The firstfeature will automatically reflect the change. If multiple featuresreference the pointer, all features are automatically updated withoutrequiring the developer to suffer through an error-prone approach ofmodifying each feature. In another feature, the developer maysubsequently revise the first feature to reference another pointer.Registrations will again be appropriately adjusted.

At any given time, the central registry can be used to understand therelationships between features and pointers. For example, the registrycan be used to identify, for a given feature, all other features boundto it. Intermediate binding pointers and binding directionality canfurther be identified. This information can be presented to a developervia text and/or graphics to facilitate environment understanding anddebugging.

Binding changes (e.g., definitions of pointers or references topointers) are tracked. All or part of the binding history can then bepresented to the developer. For example, the history can presented usinga visual timeline with markers representing binding changes and textassociated with the markers providing details about the change. Thedeveloper can filter the history to focus on a particular time period orparticular features. Thus, e.g., if the developer is aware of a problemthat began during a time period and/or involving an feature, events soassociated can suggest changes that led to the problem.

In some embodiments, a computer-implemented method is provided. Themethod includes receiving, at an app management system, first input thatidentifies a type of first app feature and that indicates that the firstapp feature is to depend on a dynamic pointer and updating a centralregistry to indicate that the first app feature depends on the dynamicpointer. The method also includes receiving, at the app managementsystem, second input that indicates that the dynamic pointer is to beset to point to a second app feature and updating the central registryto indicate that the dynamic pointer points to the second app feature.The method further includes detecting an event indicating that thepointing of the dynamic pointer or that a value of the second appfeature has changed and causing, in response to the event detection, avalue of the first app feature to change.

In some embodiments, a system is provided that includes one or more dataprocessors and a non-transitory computer readable storage mediumcontaining instructions which when executed on the one or more dataprocessors, cause the processor to perform operations includingreceiving, at an app management system, first input that identifies atype of first app feature and that indicates that the first app featureis to depend on a dynamic pointer. The operations further includeupdating a central registry to indicate that the first app featuredepends on the dynamic pointer; and receiving, at the app managementsystem, second input that indicates that the dynamic pointer is to beset to point to a second app feature. The operations also includeupdating the central registry to indicate that the dynamic pointerpoints to the second app feature, detecting an event indicating that thepointing of the dynamic pointer or that a value of the second appfeature has changed, and causing, in response to the event detection, avalue of the first app feature to change.

In some embodiments, a computer-program product is provided that istangibly embodied in a non-transitory machine-readable storage mediumthat includes instructions configured to cause one or more dataprocessors to receive, at an app management system, first input thatidentifies a type of first app feature and that indicates that the firstapp feature is to depend on a dynamic pointer. The instructions arefurther configured to cause the one or more data processors to update acentral registry to indicate that the first app feature depends on thedynamic pointer; and receive, at the app management system, second inputthat indicates that the dynamic pointer is to be set to point to asecond app feature. The instructions are further configured to cause theone or more data processors to update the central registry to indicatethat the dynamic pointer points to the second app feature, detect anevent indicating that the pointing of the dynamic pointer or that avalue of the second app feature has changed, and cause, in response tothe event detection, a value of the first app feature to change.

The ensuing description provides preferred exemplary embodiment(s) onlyand is not intended to limit the scope, applicability or configurationof the disclosure. Rather, the ensuing description of the preferredexemplary embodiment(s) will provide those skilled in the art with anenabling description for implementing a preferred exemplary embodiment.It is understood that various changes can be made in the function andarrangement of elements without departing from the spirit and scope asset forth in the appended claims.

Referring first to FIG. 1E, a block diagram of an embodiment of anapp-provision interaction system 100 is shown. A developer 105 and/oruser can interact with an app management system 150 via respectivedevices 110 and/or 120 and a network 140, such as the Internet, a widearea network (WAN), local area network (LAN) or other backbone. In someembodiments, app management system 150 is made available to one or moreof developer 105 and/or user 115 via an app (that can be downloaded toand executed on a portable electronic device) or a website. It will beunderstood that, although only one developer 105 and user 115 are shown,system 100 can include multiple developers 105 and/or users 115.

Developer device 110 and/or user device 120 can each be a singleelectronic device, such as a hand-held electronic device (e.g., asmartphone). It will be understood that developer device 110 and/or userdevice 120 can also include a system that includes multiple devicesand/or components. The device(s) 110 and/or 120 can comprise a computer,such as the desktop computer, a laptop computer or a tablet. In someinstances, a party 105 and/or 115 uses different devices at differenttimes to interact with app management system 150.

App management system 150 provides developer 105 with tools tofacilitate development of an app. Developer 105 interacts with appmanagement system 150 to define an operation and presentation of an app.As will be described in greater detail below, developer 105 can enterinput that causes various app features to be defined.

App features include elements of an app that receive and/or presentinput to users 115. An app feature can be identified by its name and itsvalue(s). The name can be textual or numeric and is used to distinguishthe particular app features from other app features. To illustrate,names can include examples such as: Query1, Chart3,SatisfactionAssessment, or Client1PerformanceChart. Most frequently, thename is substantially or completely fixed, such that it does not varymerely based on user input or developer modification to the app feature.An app feature's value(s) indicate the feature's content and/oroperation capabilities. For example, developer 105 can enter text thatis to be presented or presentable (e.g., and is presented subsequent toreceiving user input) as part of the feature. In one instance, developer105 defines a set of first values for the app feature which can beiteratively or simultaneously presented to a user 115, and user 115 canselect amongst the first values (e.g., using a pull-down menu or radiobuttons) to define a second value. As another example, a value isautomatically calculated based on underlying data. For example, appmanagement system 150 can continuously identify virtual-machineperformance characteristics (e.g., a bandwidth, memory usage, responsetime, etc.). Each of a set of app features can further process and/orhave a value set to a real-time characteristic.

FIG. 2 illustrates example representations of a variety of app features.App features 205 and 210 are query features, where a value can bedefined (e.g., via selection by a user 115). In this instance, queryfeatures 205 and 210 include drop-down menus presenting a list ofinitial values from which the user can select a value. In otherinstances, a query feature can include a list of radio buttons, an opentext box, a format-restricted text box (e.g., only accepting numbers),etc. In various embodiments, a query value can be set or selected by auser 115 using an app or by a developer 105 defining the app. In oneinstance, the initial values shown in query feature 210 depend on aselected value from query feature 205.

App features 215 and 220 are table and chart queries, respectively.Table feature 215 includes 25 cells, each of which can have a valuetherein. Chart feature 220 includes a pie graph, with four portionscontributing to the whole. The values and/or portions can be againdefined by a user and/or developer, or they can reflect values fromanother app feature (e.g., a cell value in table feature 215 can be setto a value selected in a query feature, or values contributing to achart in chart feature 220 can be defined based on cell values in atable feature 215). App feature 225 is a timeline feature that showshistorical values. For example, one set of bars may reflect, for varioustime points, which value was selected using a query feature or aperformance characteristic.

Ultimately, using input from developer 105 and capabilities of appmanagement system 150, an app code is generated or updated and stored.This code can reference and/or define app features to be used in theapp's operation. App management system 150 then executes the code suchthat the corresponding app can be presented to and used by users 115.During the app's execution, app management system 150 calls on andutilizes one or more resources 160 (wherein resource 160 includesresource 160-1, 160-2, . . . 160-n) which can be remote from orco-located with app management system 150.

It will be appreciated that, while FIG. 1E shows app management system150 as being separate from resources 160, in some embodiments, parts ofsystem 150 are present on one or more resources 160. For example,databases or data summarizers can be present on resources 160.

Referring next to FIG. 3, a block diagram of an embodiment of appmanagement system 150 is shown. App management system 150 can be, inpart or in its entirety, in a cloud. In some instances, at least part ofapp management system 150 is present on a device, such as a developerdevice 110. In some instances, various components in app managementsystem 150 are present in a set of resource. For example, librarydatabase 315 can be stored on resource 160-1, code database 325 can bestored on resource 160-2, and central registry 335 can be stored onresource 160-3. Thus, app management system 150 can include adistributed system.

App management system 150 includes an app developer 305 that interactswith a developer 105 to facilitate development of an app. Initially, appdeveloper 305 requests one or more libraries from library provider 310.Library provider 310 can use default a library selection (e.g., alwaysproviding a same library) or can base the selection based oncharacteristics of developer 105 and/or indications as to what type ofapp developer 105 wishes to develop. For example, developer's inputand/or account data can identify a subscription type or level, aprogramming-skill level, an industry, a foreseen user-involvement level,and/or an authorization. Based on this data, one or more libraries canbe appropriately selected. In one instance, library provider 310 and appdeveloper 305 can coordinate to present a list of available libraries(potentially with associated costs) to developer 105, and he can thenselect which libraries will be provided.

Library provider 310 can then collect the appropriate library (orlibraries) from library database 315. The library can include routines,subroutines, classes, modules and/or functions which can be stored inobject format. It will be appreciated that disclosures that refer to“subroutines” herein can be extended to embodiments instead pertainingto routines, classes, modules, functions, etc. A library can includesubroutines that pertain to app features and/or dynamic pointers. Forexample, a routine can register an app feature (e.g., by registering itsname), determine whether an app feature exists, define an app feature orrevoke an app feature.

The library can be made accessible to a developer 105 (via app developer305). In one instance, a link can be provided, where selection of thelink causes the library to be downloaded to a developer device 110. Inone instance, the library is downloaded to a resource 160. Further,library provider 310 can provide instructions and/or examples toillustrate how aspects of the library (e.g., specific subroutines) canbe used. In one instance, providing a library includes presenting namesof available subroutines.

Developer 105 can upload or otherwise define app objects (e.g.,graphics, videos, animations, etc.), which app developer 305 can storein an app-object database 320. Further, app developer 305 can facilitatethe generation of a code (e.g., based on input from developer 105) thatdefines an app. The code can be stored in a code database 325. In oneinstance, a developer 105 uploads or enters code that loads a libraryand calls one or more subroutines from the library.

Developer 105 can interact with app developer 305 and utilize librarysubroutines to register and/or create an app feature. Initially,developer 105 can define a name of the app feature (e.g., while callinga feature-generation or feature-registration subroutine). A featureengine 330 can detect the instantiation (e.g., by detecting the call tothe appropriate subroutine) and register the new app feature in acentral registry 335. This registration can include identifying, e.g.,the app feature's name, an app or code calling the registrationsubroutine, the developer responsible for the registration, anindication as to whether the app feature is empty or includes data(e.g., the feature being empty until it is otherwise defined), and/or anindication as to whether the app feature calls or references any dynamicpointers. It will be appreciated that while names (of features and/or ofdynamic pointers) will typically include alphanumeric text, otheridentifiers can be used (e.g., numbers). Registration can include addingthe identifying information to a list, column, row or matrix in centralregistry 335. The registration can further include assigning a uniqueidentifier (e.g., a number, alphanumeric code or index) to the appfeature.

Feature engine 330 can further detect feature-defining actions. Forexample, feature engine can detect use of a feature-defining subroutineor other triggering input. Creation of certain object types (e.g., usingtraditional coding language or subroutine calls) can cause the createdobject to be automatically registered. For example, creation of a menu,list, matrix, query, table and/or chart can automatically cause theobject to be registered. In these instances, feature engine 330 cansimultaneously detect the feature instantiation and that the feature isdefined. Upon detecting that a feature is defined, feature engine 330can update central registry 335 to reflect the definition. For example,a status of the app feature can be changed from empty to present. Asanother example, a location (e.g., code name and, potentially, a linenumber) of the feature's definition can be recorded in central registry.

Feature engine 330 can detect other feature-related actions. Forexample, feature engine 330 can detect a command or other actionindicating that an app feature is to be removed from central registry335 (e.g., a revoke command), and feature engine can then remove the appfeature (e.g., its name, any associated binding and/or otherinformation) from registry 335. As another example, feature engine 330can detect a command or input requesting information about registeredapp features in central registry 335. The request can include a requestfor, e.g.: a list of registered app features, confirmation as to whethera particular app feature is registered, a status of an app feature(empty or present), whether an app feature is bound to another appfeature or references a pointer (described in further detail below),etc. Feature engine 330 can search central registry 335 to determine aresponse to the request and relay the result to developer 105 via appdeveloper 305.

A pointer engine 340 can add dynamic pointers to central registry 335.Code or input can be used to explicitly initialize and/or define adynamic pointer. For example, a code can initialize a pointer variable,or a developer can interact with a graphical user interface to request apointer generation.

Pointer engine 340 can detect such code or input and can then add thepointer to central registry 335. Adding the pointer can include adding aname of the pointer and/or adding a value of the pointer to a list,column, row or matrix in central registry 335. The list, column, row ormatrix can be within a same structure as one that identifies an appfeature or corresponds to a similar list, column, row or matrix thatidentifies an app feature. Alternatively, they can be independent andnon-corresponding (e.g., with regard to listing order). The value of thepointer can identify another app feature or it can be set to empty if noother app feature has yet be identified. In some instances, pointerengine 340 only adds the pointer to central registry 335 afterconfirming that registry 335 does not already include the pointer (e.g.,by searching for the pointer's name).

Pointer engine 340 can also or alternatively detect less explicitpointer-defining code or input. For example, code for an app feature canforego defining or registering a dynamic pointer but nonethelessreference (or call) a dynamic pointer. Such reference can indicate thatat least part of the first app feature's value is to depend on a valueof another app feature pointed to by the dynamic pointer. This detectioncan be aided in instances in which dynamic pointers are to have aparticular format. Upon detecting the attempted utilization of thedynamic pointer, pointer engine 340 can add the dynamic pointer (e.g.,by adding its identified name) to central registry 335.

Thus, a dynamic pointer can be registered to central registry 335 beforeit is defined. That is, pointer engine 340 detects a new pointer and itsname, but the pointer is not set to or pointing to any other object.Pointer engine 340 can then monitor code and/or input for a subsequentdefinition. Even once a pointer is defined, pointer engine 340 cancontinue to monitor code and/or input such that it can detect anychanges or overrides to the pointer's definition.

Typically, a pointer's definition will include an identification of anapp feature. The pointer's definition can further identify a particularfield or variable within the app feature. The pointer's definition canbe realized based on, e.g., a code (a code for a feature that calls thedynamic pointer or another code) or input received from a developer 105via a graphical user interface.

Upon detecting the definition, pointer engine 340 can update centralregistry 335 to reflect the definition. For example, central registry335 can have an entry for a pointer, and the entry can be updated toinclude an identifier of an app feature (e.g., its name, entry index,unique identifier, etc.).

The pointer can be defined to point to an app feature that is notregistered with central registry 335. In these cases, pointer engine 340can prompt feature engine 330 to register an appropriate empty appfeature to central registry 335.

It will be appreciated that the order of the pointer registration,pointer definition, app feature registration and app feature definitionis malleable. That is, in some embodiments, it is acceptable to bothdefine an app feature that calls a dynamic pointer before defining thedynamic pointer and to define the dynamic pointer before defining theapp feature that calls the dynamic pointer. Similarly, in someembodiments, it is acceptable to both define a dynamic pointer thatpoints to an app feature before defining the app feature and theconverse. Thus, feature engine 330 can regularly or continuously monitor(e.g., monitor code or interface interactions) to detect new or changedreferences to pointers in app features.

Feature engine 330 can further coordinate binding between elements incentral registry 335. Specifically, an app feature can be directly boundto a dynamic pointer and/or indirectly bound to another app feature.Feature engine 330 can directly bind the app feature to the dynamicpointer after detecting that the app feature calls, references orotherwise depends on the dynamic pointer. Feature engine 330 canindirectly bind the app feature to the other app feature upon detectingthat the app feature is directly bound to a dynamic pointer and thedynamic pointer is set to a value of the second app feature.

Binding can include links or connections between central registryentries (e.g., feature entries and/or pointer entries) or a portion ofthe entries that identify a bound object. For example, a binding linkcan include a vector, with a first element that identifies a referringapp feature and a second element that identifies a dynamic pointer. Asanother example, a portion of an app feature entry can indicate that itis directly bound to a “myquery” dynamic pointer and indirectly bound toa “query1” app feature, or a portion of “query1” can indicate that“feature1” is to be notified of changes involving the query.

Bindings can be direction, such that a binding points in a direction ofgreater independence. That is, if a first app feature references adynamic pointer which is set to a second app feature, bindings betweenthe first app feature and the dynamic pointer and second app featurewill point away from the first app feature.

FIGS. 4A and 4B illustrate bindings between registry elements. Eachcircle represents a registry entry for an app feature or dynamicpointer, and each black line represents a binding. In FIG. 4A, two appfeatures represented in a top row reference or call a dynamic pointer.Thus, they are directly bound to the respective pointers Pointerdefinitions are represented by the gray lines. Each pointer is set to aparticular app feature. Indirect bindings (show as dashed lines) aregenerated between app features that are connected via pointers.

In FIG. 4A, referring and target features are shown independently. Insome instances, there is no such explicit separation from thesefeatures. Rather, features can be generally registered with centralregistry 335 and can serve as a referring feature, a target feature orboth. For example, in FIG. 4B, Feature 2 serves as both a referringfeature (referencing Pointer 3) and a target feature (with Pointer 1being set to Feature 2). FIG. 4B further illustrates that a pointer(e.g., Pointer 2) can be included in the registry despite not beingdefined.

Once a referring feature is bound to a pointer or target feature, anevent detector 345 registers the feature to receive notifications ofregistry events pertaining to the pointer or target feature. Thisregistration allows the referring feature to “listen” to eventspertaining to the pointer or target feature. Event detector 345 monitorscentral registry 335 to detect any registry events. Events can include,e.g., a new pointer registration, a new app feature registration, a newpointer definition, a new app feature definition, a change to apointer's definition, a change to an app feature's definition, a removalof a pointer, or a removal of an app feature. Event detector 345 candetect the time of the event, an identifier of the involved pointer orapp feature, and/or a type of the event (e.g., registration, definition,change, or revocation). Event detector 345 can store the detectedinformation in an event-history database 350.

Event detector 345 can further determine which app features areregistered to receive notification of the detected event (e.g., arelistening for events involving the event-pertaining feature or pointer).For example, event detector 345 can search a set of binding link vectorsor app-feature elements for any that include an identifier of theevent-pertaining feature or pointer. Event detector can then notifyfeature engine 330 of the event and the app features listening for theevent. Feature engine 330 can update code for the listening featuresbased on the event. In some instances, the feature code need not beupdated but the app feature will automatically be updated in response tothe event.

A code executor 355 (which can include a compiler) can (in response to arequest from a user or develop or periodically) execute the code. Thecode can include codes for features, which can reference dynamicpointers. Code executor 355 can access central registry to determine acurrent value for the pointers. The pointer values can then beseamlessly integrated into the features.

App management system 150 includes two summarizers that can aid adeveloper 105 in understanding the state(s) and operation(s) of an app.A historical summarizer 360 accesses the event-history database 350 andcollects a series of events. Historical summarizer 360 can filter theevents and/or restrict the collection based on, e.g., a time period ofinterest, app-feature types of interest, a developer of interest and/ora type of event of interest. Historical summarizer 360 can sort orotherwise arrange the events, e.g., based on one or more of these sameproperties. The properties can be defined by a developer (e.g., as apreference or in a recent historical-summary request) or by system 150(e.g., based on default properties or based on characteristics ofdeveloper 150 or registry 335).

Historical summarizer 360 can generate a time line. Each event isassigned a position along an axis corresponding to a time of the event.A symbol (e.g., tick mark, circle, x, dashed line, etc.) can bepresented at the position, along with other indications characterizingthe event. For example, text or colors can indicate the type of eventthat occurred, the involved features and/or pointers and/or a developerwho initiated the event. Event times may or may not be explicitly orimplicitly identified. For example, each event can be accompanied bytext noting the event time, or extremes of a timeline can include timeidentifiers with event times being indicated by their position along thetimeline.

FIG. 5 illustrates an example representation identifying a history ofevents pertaining to app features and dynamic pointers. Each verticalblock represents an event. Its horizontal location along the timelinerepresents a time of the event. Text in the block characterizes theevent. Blocks with a single app feature name indicate that the appfeature was created. The blocks with arrows indicate that an indirectbinding was generated between the app feature listed before the arrow tothe app feature listed after the arrow. The blocks with colons indicatethat a value for the app feature listed before the colon was set to thatidentified after the colon. This particular illustration does notdirectly represent the involvement of pointers but instead focuses onthe resulting indirect binding facilitated by the pointers. However,such events could be included in the timeline in other embodiments.

Historical summarizer 360 can present the historical summary to adeveloper 105 via an interface or send the summary to developer 105 viaemail. Developer 105 can interact with the summary and adjust filteringin substantially real-time (e.g., causing the presented summary to bequickly and smoothly readjusted). For example, developer 105 can zoominto or out of a time period.

Developer 105 can interact with the summary to delete eventrepresentations. Such an action can serve to merely reduce the presenteddata or can take effect to actually reverse the particular event (e.g.,a pointer definition change, app feature registration, etc.).

A map summarizer 365 can construct a map that identifiesinterrelationships between app features and/or pointers. Map summarizer365 can identify a set of unique features in central registry 335. Theunique features can be unique features amongst all features in registry335 or amongst some of the features in registry 335 (e.g., thosepertaining to a particular app or developer). Map summarizer 365 canthen search bindings to determine which features are bound (e.g.,indirectly bound) together and the directionality of the binding. Foreach feature, map summarizer 365 can also record its type and/or itsvalue.

Map summarizer 365 can further similarly identify a set of uniquedynamic pointers or those dynamic pointers facilitating indirectbinders. Any involvement of these dynamic pointers in indirect bindingcan be determined based on direct bindings between a referring appfeature and a pointer and the pointer definition.

Map summarizer 365 can then generate a high-level map that identifiesthe interconnectivity between app features (and potentially between appfeatures and dynamic pointers). The map is high-level in that it doesnot concentrate on a single binding but instead indicates a set or allof the bindings involving an app feature. Thus, e.g., if a particularapp feature referenced three pointers that were defined based on valuesfrom the other app features, the map would identify all three resultingindirect bindings.

Map summarizer 365 can then generate and present a map (e.g., includingtext, a chart or a graphic) that indicates the feature (and potentiallypointer) relationships. Information can accompany the map to, e.g.,identify, for one, more or each feature, its type and/or value. In someinstances, bindings are represented using lines or arrows (with thearrow's direction representing a dependency direction).

FIG. 6 illustrates an example presentation of a map identifyinginterrelationships between features. Once again, the tail of each arrowis at an app feature that depends on the feature at the head of thefeature. Thus, for example, Query2 is set to search for data of type “A”since the value of Dropdown1 is “A”. Similarly, Query3 is set to searchfor data of types “A” and “E” due to the values of Dropdown1 andDropDown2. Dropdown1 and Dropdown2 have options that are selected basedon the results to Query1 and Query2, respectively. Table1, Chard andTimeline1 can include elements that reflect the result of Query3. Thispresentation can allow a developer 105 to determine an impact of aparticular app feature (e.g., whether it is being used at all) andidentify all app features with a dynamic element due to the indirectbinding.

Map summarizer 365 can receive input from a developer that influencesits map generation and/or presentation. For example, a developer 105 canidentify a time point (e.g., by entering a date or by sliding a markeralong a time bar). Based on the current bindings and definitionsrecorded in central registry 335 and based on the event history indatabase 350, map summarizer can derive a map with bindings existing atthe time point. In another instance, past registry data can itself bestored. As another example, a developer 105 can identify one or moreparticular app features of interest (e.g., one(s) not appearing asintended), and map summarizer 365 can generate a restricted mapincluding all bindings involving the particular app feature(s). Adefault setting or input from developer 105 can identify a level ofrelationship to present. For example, the developer may wish to view allfeatures separated from a feature of interest by no more than one, twoor n dynamic pointers.

The presented map can be static or interactive. In the latter instance,a developer 105 may be able to move binding representations and/or addor delete feature or pointer representations. Map summarizer 365 maythen appropriately adjust central registry 335 in accordance with theactions.

FIG. 7 illustrates a flowchart of an embodiment of a process 700 forfacilitating app development. Process 700 begins at block 705, wherelibrary provider 310 selects a library from library database 315. Thelibrary can be selected based on characteristics of a developer usingapp management system 105, input from the developer identifying a typeof app that he wishes to develop, and/or default library selections. Thelibrary can include subroutines that enable the developer to utilizedynamic pointers and app features calling dynamic pointers. Libraryprovider 310 provides the library to developer 105 at block 710. Theprovision can include an action that enables developer 105 to utilizethe functionality and/or subroutines of the library.

App developer 305 generates code thereby developing an app based ondeveloper actions at block 715. This development may include merelyreceiving code entered by developer 105. App developer 305 may or maynot further modify the received code. The development may includeconverting developer interactions with a graphical user interface tocode. The code can include reference to a dynamic pointer, definition ofan app feature and/or definition of a dynamic pointer. App developer 305stores the code in code database 325 at block 720. The code can beassociated with developer 105 and/or an app name in database 325.

App developer 305 stores one or more app objects in app-objects database320 at block 725. These app objects can include ones uploaded bydeveloper 105 or defined by developer 105 during interactions with acoding module or graphical user interface of app management system 150.The app objects can include ones referenced by the stored app code.

Code executor 355 avails app to users 115 at block 730. For example,code executor 355 can provide a link (with hyperlinked text or icon)that will initiate app execution. As another example, code executor 355can add an identifier of the app to a database or store, such that usershave the ability to purchase and/or download it.

Code executor 355 appropriately utilizes resources and executes the appat block 735. The app may be executed in a cloud and/or on a user device120. Definitions of dynamic pointers, references to dynamic pointersand/or bindings between app features and dynamic points and/or other appfeatures may be substantially or entirely fixed once a user begins touse the app. Alternatively, cloud-based communications can continue tomodify such aspects after receiving developer instruction to do so.

FIG. 8 illustrates a flowchart of an embodiment of a process 800 fortracking feature and pointer dependencies in a central registry. Process800 begins at block 805, where pointer engine 340 receives, via appdeveloper 305, a name for dynamic pointer from developer 105. The namecan be received as part of an explicit attempt to define or register thedynamic pointer or based on a first reference to the pointer in a code(e.g., a code defining an app feature). Pointer engine 340 updatescentral registry 335 to include the name of the dynamic pointer at block810. Pointer engine 340 may first confirm that the name of the dynamicpointer was not previously added to registry 335. If the dynamic pointerhas not yet been defined or set to point to an app feature, its valuecan be empty. Otherwise, its value can be set to include a name of anappropriate app feature.

Feature engine 330 receives a name of a feature at block 815. Developer105 can identify the name, or it can be automatically assigned upondetecting that a new app feature is being defined. Feature engine 330updates central registry to include the name of the new app feature atblock 820. Feature engine 330 may first confirm that the name of the appfeature was not previously added to registry 335.

Feature engine 330 receives characteristics of the app feature at block825. In some instances, a characteristic indicates that a presentationand/or operation of the app feature is to depend on another app feature(e.g., via a dynamic pointer). The characteristics can be directlyidentified by developer 105 (e.g., by selecting options or utilizing GUIbuttons) or identified as part of a code for the feature. Feature engine330 can generate or update a code to define the feature such that itincludes the characteristics. This code can be separate from or part ofan overall code defining an app. Feature engine 330 updates codedatabase 325 to include the code at block 830.

FIG. 9 illustrates a flowchart of an embodiment of a process 900 fordynamically updating a first feature based on a dynamic pointer'sdefinition. Process 900 begins at block 905, where feature engine 330detects a reference to a pointer name in code of first app feature. Thefirst app feature and the pointer can be ones already registered. Ifthat is not the case, they can both be registered with central registry335. In response to the detection at block 305, feature engine 330 bindsthe name of the first feature to the name of the pointer in centralregistry 335 at block 910. As a consequence of the binding, eventdetector 345 registers the first feature to receive notifications ofevents pertaining to the dynamic pointer at block 915.

Pointer engine 340 sets a value for the dynamic pointer to a name of asecond feature at block 920. This pointer definition can occur afterreceiving a code or other input from developer 105 indicating that thesecond feature is the intended target for the pointer. It is possiblethat the second feature includes multiple variables, each of which canhave a value. Thus, the pointer definition can then be formatted to notonly identify the second feature but also to identify the variable ofinterest.

Feature engine 330 binds the name of the first feature to a name of thesecond feature (or name of a variable of the second feature) in registryat block 925. This binding is an indirect binding, as it is instituteddue to the connection facilitated by the intermediate dynamic pointer.Event detector 345 registers the first feature to receive notificationsof events pertaining to the second feature at block 930.

The setting of the pointer value at block 920 is itself an event, thatthe first feature was registered to be alerted of at block 915. Thus, atblock 935, event detector 345 notifies the first feature of the pointerdefinition. In practice, this notification can include notifying featureengine 330 of the event and identifying the feature which may beaffected by the change. In some instances, feature engine 330 willactively alter code of the first feature based on the event. Forexample, a feature engine 330 may generate a simplified code byreplacing the reference to the dynamic pointer (or code defining anypreviously pointed to feature) with code of the pointed-to secondfeature. In some instances, no active code alteration is necessary, andthe pointer operates to automatically incorporate the appropriate code.

Code executor 355 utilizes the original or modified code of the firstfeature (and/or the pointer value and/or code of the second feature) togenerate the first app feature at block 940. It will be appreciated thatthe generation can include modifying a previously generated first appfeature. The first app feature may then have a value equal to a value ofthe second feature, or a format or content of the first app feature maybe selected based on the value of the second feature (e.g., utilizing anif command or other processing).

FIG. 10 illustrates a flowchart of an embodiment of a process 1000 fordynamically updating a first feature based on a dynamic pointer'sdefinition. Process 1000 begins at block 1005, where pointer engine 340sets a value for the dynamic pointer to a name of a second feature.Feature engine 330 detects a reference to the name of the pointer in acode defining the first app feature at block 1010. Feature engine 330then binds the name of a first feature to a name of the pointer and to aname of the second feature in central registry 335 at block 1015.

Event detector 345 registers the first feature to receive eventspertaining to the pointer and/or to the second feature at block 1020.Code executor 355 generates the first app feature at block 1025, suchthat the operation and/or presentation of the first feature reflect avalue of the second feature. In some instances, process 1000 furtherincludes event detector 345 notifying the first feature of the pointerdefinition (e.g., by notifying feature engine 330). Even though no suchevent occurred after the first feature was registered to receive suchevents, the notification can nonetheless be sent such that the firstfeature can reflect the current pointer setting. As before, in someinstances, a feature engine 330 generates a modified first-feature codethat replaces a pointer reference with code of the second feature, andin some instances, no such modification is necessary.

In some instances, at least part of the order of the blocks in process900 and 1000 reflects an actual order. That is, process 900 canillustrate a situation where the first app feature references a pointerprior to it being defined, and process 1000 illustrates a situationwhere the pointer is defined prior to the first app feature referencingthe pointer. The use of central registry 335 dynamic pointers providesthe flexibility to use either order, which can ease coding or (appdefining) efforts and reduce error probabilities.

FIG. 11 illustrates a flowchart of an embodiment of a process 1100 fordynamically updating a first feature based on a dynamic pointer'sdefinition. Blocks 1105-1130 of process 1100 can substantially parallelsimilar blocks in process 900 and/or process 1000.

At block 1135, pointer engine 340 changes the value of the pointer bysetting it to a name of a third feature. Consequentially, event detector345 can adjust registrations appropriately. Specifically, event detector345 registers the first feature to receive notifications of eventspertaining to the third feature at block 1140, and event detector 345unregisters the first feature to receive notifications of eventspertaining to the second feature at block 1145.

The first feature was already registered to receive events pertaining tothe pointer (block 1120), and thus, event detector 345 notifies thefirst feature of the new pointer definition at block 1150. Code executor355 then generates the first app feature at block 1155, such that theoperation and/or presentation of the first feature reflect a value ofthe third feature.

FIG. 12 illustrates a flowchart of an embodiment of a process 1200 fordynamically updating a first feature based on a definition of a newlyreferenced dynamic pointer. Blocks 1205-1220 and 1230-1240 in process1200 can substantially parallel similar blocks in process 900 and/orprocess 1000.

Meanwhile, process 1200 involves two pointers. Pointer engine 340 setsthe second dynamic pointer to a name of a third app feature at block1225. At block 1245, feature engine 330 detects that the reference inthe first feature code changes from referencing the first pointer toreferencing the second pointer.

Event detector 345 then adjusts registrations appropriately.Specifically, event detector 345 registers the first feature to receivenotifications of events pertaining to the second pointer and/or thethird feature at block 1250, and event detector 345 unregisters thefirst feature to receive notifications of events pertaining to the firstpointer and/or the second feature at block 1255. Code executor 355 thengenerates the first app feature at block 1260, such that the operationand/or presentation of the first feature reflect a value of the thirdfeature.

FIG. 13 illustrates a flowchart of an embodiment of a process 1300 fordynamically updating a first feature based on a change to a bound secondfeature. Blocks 1305-1330 of process 1300 can substantially parallelsimilar blocks in process 900 and/or process 1000.

At block 1335, feature engine 330 modifies the second feature. Themodification can be based, e.g., on input from developer 105, adatabase, a current time, user entries, etc. Thus, in some instances,the modification is due to a new result obtained responsive to automaticprocessing. Feature engine 330 notifies central registry 335 that thechange occurred at block 1340. The notification may or may not includeadditional details as to what type of change occurred and/or what or whoinitiated the change.

Because the first feature was registered to receive notifications ofevents pertaining to the second feature, event detector 345 notifies thefirst feature of the change occurrence at block 1345. This notificationalso may or may not include additional details as to what type of changeoccurred. Code executor 355 then generates the first app feature atblock 1350, such that the operation and/or presentation of the firstfeature reflect a value of the modified second feature.

Thus, processes 1100-1300 illustrate how the use of dynamic pointers andcentral registry 335 can allow a developer 105 to easily adjust thepresentation and/or operation of a first feature—not by recoding majorportions of the first feature—but by simply shifting a pointerdefinition, referencing a new feature or allowing system 150 toautomatically process updates of other feature updates. This aspect canbe particularly advantageous if developer 105 wishes to adjust thepresentation and/or operation of many features in a similar manner.System 150 enables developer 105 to accomplish such an objective byadjusting a single variable, thereby also reducing the probability ofintroducing errors or presentation of unintended content in the app.

FIG. 14 illustrates a flowchart of an embodiment of a process 1400 fortracking and presenting changes in the central registry. Process 1400begins at block 1405, where event detector 345 detects events at centralregistry 335. The events could include, e.g., a registration of apointer, a registration of an app feature, a new or changed definitionof a pointer, alert of new definition of an app feature, a new orchanged direct binding from an app feature to a pointer, a new orchanged indirect binding from an app feature to another app feature, aremoval or a pointer, a removal of an app feature, a removal of a directbinding and/or a removal of an indirect binding.

Event detector 345 stores event details in event-history database 350 atblock 1410. The details can include: an identification that an eventoccurred, an identification as to what type of event occurred (e.g., anidentification of one of the above-listed event types), a date and timeof the event, an identification of any party or circumstance initiatingthe event and/or an identification of one, more or all app featuresinfluenced by the event (e.g., due to binding).

Historical summarizer 360 collects event data from event-historydatabase 350 at block 1415. The collected data can be all event datewith dates and times within a time period, influencing a particular appfeature or group of app features, pertaining to a particular app ordeveloper, of one or more types, etc. In some instances, the selectionof data is determined based on input from developer 105 (e.g., defininga time period of interest). Historical summarizer 360 sorts thecollected data at block 1420. For example, events can be arrangedchronologically. Additional sorting (e.g., separating new registrationsfrom changes or removals) can also be performed.

Historical summarizer 360 generates a presentation of the sorted data atblock 1425. The presentation can include, e.g., a timeline, such as theone illustrated in FIG. 5. The presentation can identify the events, theinvolved app features and/or pointers and/or the times of the events.Historical summarizer 360 presents the presentation of sorted data atblock 1430. For example, the presentation can be presented on aninterface screen to a developer 105.

Historical summarizer 360 receives filtering input from developer atblock 1435. The filtering input can, e.g., define one or more timeboundaries, an event type of interest, one or more app features ofinterest, one or more pointers of interest, an identification of whetherautomatic or developer-initiated events are of interest, etc. Historicalsummarizer 360 may then recollect and/or resort data based on thefiltering. In one instance, block 1435 includes the developer selectingand deleting an event, which may merely delete the event from view orhave an effect of reversing the event's occurrence.

Historical summarizer 360 adjusts the presentation at block 1440. Theadjusted presentation can conform to the filtering input received atblock 1435. The presentation adjustment can be dynamic and in real-time(e.g., zooming in or out of a timeline) or can prompt a new presentationto occur or to be transmitted.

FIG. 15 illustrates a flowchart of an embodiment of a process 1500 foridentifying interrelationships between features and dynamic pointers.Process 1500 begins at block 1505, where map summarizer 365 identifiesunique dynamic pointers in central registry 335.

For one of the identified pointers, feature engine 330 identifies allfeatures referencing the dynamic pointer at block 1510. For example,feature engine 330 can identify all app features directly bound to thepointer. Feature engine 330 identifies which app feature (and/orapp-feature variable) is present in a definition of dynamic pointer atblock 1515. Feature engine 330 determines indirect bindings betweenfeatures based on references and definition at block 1520. Blocks1510-1520 are repeated for each pointer. It will be appreciated that, insome instances, block 1505 is omitted from process 1500 and/or featureengine 330 determines indirect bindings in response to central registry335 being changed in a manner than will influence current indirectbindings.

Map summarizer 365 generates map of bindings at block 1525. The map caninclude direct bindings, pointer definitions and/or indirect bindings.Thus, in one instance, the map only includes indirect bindings and doesnot include identifiers of pointers. The map can be constructed tofocus, not primarily on individual bindings, but to show how appfeatures and/or pointers are interconnected more globally (e.g.,illustrating convergence and divergence of bindings).

Map summarizer 365 generates a presentation of the map at block 1530.The presentation can include identifiers of app features, pointers andone or more types of bindings determined at block 1520. Examples of mapsare illustrated in FIGS. 4A, 4B and 6. Map summarizer 365 presents thepresentation of the map at block 1535. For example, the presentation canbe presented via an interface of an app or website or emailed (e.g., toa developer).

Map summarizer 365 receives filtering input from developer 105 at block1540. Map summarizer adjusts the presentation in accordance with thefiltering input at block 1540. Filtering input may identify one or moretypes of app features, types of pointers and/or types of bindings ofinterest. Filtering may identify a time point. Thus, in one instance, adeveloper 150 can, e.g., slide a marker across a time bar such that thepresented map reflects the bindings current at the represented time. Inorder to adjust the presentation at block 1545, map summarizer 365 mayregenerate the map. In another instance (e.g., where the filtering inputdefines a time point of interest), map summarizer 365 may identifyevents that occurred between a previous time point identified and therecent one, such that the map can be adjusted based on the events.

FIG. 16 illustrates a flowchart of an embodiment of a process 1600 foridentifying interrelationships between features and dynamic pointers.Blocks 1605-1645 can substantially parallel corresponding blocks inprocess 1500. However, in process 1600, rather than determining indirectbindings between features, map summarizer 365 merely accesses theindirect bindings already determined (e.g., by feature engine 330) andstored in central registry 335.

It will be appreciated that embodiments herein can relate to theprocessing, storing and/or presentation of structured, semi-structuredand/or unstructured data. For example, a developer 105 can build an appthat selectively collects portions of the data, which are then analyzed,summarized and/or presented to users 115. Developer 105 can allow user115 to interact with the data in specified manners (e.g., to adjust adata-summarization level or, correspondingly, a level of detail).

An app feature (e.g., a query) can include or be based on such data. Toillustrate, a query can identify a number of stored events within a timeperiod having a particular field value. Other app features can depend onthe data-dependent app feature via a dynamic pointer, as describedabove. In another illustration, a dynamic pointer can be set to point toa portion of the data itself (e.g., a collection of field values).

Data can include, for example:

(1) Log data: types of data access attempts, times of data accessattempts, users attempting access, access successes, subsequent userbehaviors (e.g., subsequently accessed data or access reattempts), erroroccurrences, warning occurrences, serving resources.(2) Message data (e.g., email data): sender identifiers, recipientidentifiers, transmission times, subject lines, message sizes, messageformats, message contents.(3) Media data: identifiers of movie, picture or sound files; values infiles; size of files; entity that uploaded or owns the files; filetypes; keywords.(4) Sensor data (e.g., light sensor, motion sensor, accelerometer):sensor identifiers, sensor locations, sensor values.(5) User activity data (e.g., web-access data): web-page identifiers,user identifiers, locations of users, IP addresses of users, devicesused by users via access, sequences of page access, access durations,information entered via web pages.(6) Social-network data: identifiers of users connected to each other,types of connections, times of connection initiation.(7) Inventory data: identifiers of products, product prices, inventoryremaining, inventory sold, sale locations, sale prices, profits,manufacturer identifiers.(8) Economic data (e.g., stock data, home-sale data): buyer identifiers,purchase times, identifiers of purchased commodity, seller identifiers,location of purchased commodity (if applicable).(9) Employment data: employer identifiers, employee identifiers,employment locations, position types, hire times, termination times,promotion times, promotion types, connections between employees (e.g.,between supervisors and supervised employees), salaries.(10) Medical data (e.g., MRI data, EEG data, medical records): patientidentifiers, test identifiers, test data, analysis data.(11) Genomic data: species identifiers, genes, intra-speciesreliability, nucleotides, gene identifiers, behavior or diseasecouplings (e.g., identifying a set of nucleotides being part of genewhich is linked to a particular disease).(12) Search data: search occurrence, search terms, search constraints,users conducting searches, databases searched, results returned, resultsselected by (e.g., clicked on) by users.(13) Call data: phone number and/or user initiating calls, phone numberand/or user receiving calls, whether calls were answered, time of callinitiations, duration of calls.(14) Electrical data (e.g., electricity usage): user identifiers, timesof usage, amounts of usage, sources of electricity used (e.g., coal,natural gas, nuclear, solar, wind, etc.).(15) Neuroscience data (e.g., recordings from neurons): times ofrecordings, recording values, cell identifiers, amplification settings,users owning recordings.

As implied from the above examples, data stored and/or used can includea plurality of events (or entries), each of which can include values forparticular fields. For example, in the “message data” instance, eachevent can correspond to a message, and each event can include a valuefor each of the following fields: sender, recipient, message time,subject, message size, message format, and message content.

FIG. 17 shows a block diagram of an embodiment of app data managementsystem 1700. Data intake 1705 receives data, e.g., from a data provider,developer, or client. The data can include automatically collected data,data uploaded by users, or data provided by the data provider directly.In some instances, the data includes a structure that allows forindividual events and field values within the events to be easilyidentified. The structure can be predefined and/or identified within thedata. For example, various strings or characters can separate and/oridentify fields. As another example, field values can be arranged withina multi-dimensional structure, such as a table. In some instances, datapartly or completely lacks an explicit structure. For example, acontinuous data stream can include multiple events, each with multiplefield values.

A schema engine 1710 identifies an applicable schema that can be used toextract specific field values by imposing structure on data.Specifically, a schema can be “bound” to data, by breaking a data stream(e.g., a byte stream) into events and/or extracting field values, suchas a time stamp. Schema binding can occur while receiving data, prior tostoring data, while storing data, while processing data, whileresponding to a search query or some combination of the above (e.g.,separating data into events at intake and extracting field values fromevents while responding to a search query). Late binding schema can beused, which imposes structure on the data at query time rather than atstorage or ingestion time.

In structured data, an applicable schema is known, such that fieldvalues can be reliably extracted. In such instances, schema engine 1710can receive the schema from a developer, data provider, developer orother client, or schema engine 1710 can identify the schema from thedata itself (e.g., with headers or tags identifying various fields, suchas <event><message time>2013.01.05.06.59.59</> . . . </>). Inunstructured data, schema engine 1710 can estimate the schemaautomatically or on command. For example, schema engine 1710 mayidentify patterns of characters or breaks within the data stream andestimate field breaks. Received or estimated schemas are stored in aschema database 1715. Schema engine 1710 can perform the schemaestimation once or multiple times (e.g., continuously or at routineintervals). In some instances, a developer, client or data provider canprovide input indicating a satisfaction with or correction to estimatedschema.

Using the schema, an event parser 1720 can separate the received datainto events. For example, event parser 1720 can separate data betweenparticular start and stop tags, or separate data within a table's row,or separate data within particular character numbers in the data. Alsousing the schema, a field extractor 1725 can extract various fieldvalues. In some instances, field extractor 1725 further attaches asemantic meaning to the extracted field values (e.g., based on a lengthand/or character types of the field values). Field extractor 1725 canfurther convert field values into a particular (e.g., standard or easilysearchable) format.

A storage engine 1730 can store data in an event database 1735. It willbe appreciated that event database 1735 can include multiple databasesor sub-databases. Event database 1735 can be stored in working,short-term and/or long-term memory. In various instances, event database1735 can include raw data, extracted events or extracted field values.It will be appreciated that, in some instances, part of the datareceived by data intake 1705 can be deleted or not stored (e.g., fieldbreaks).

Events and/or field values can be stored at locations based on a fieldvalue. For example, a field value identifying a message sender may bestored in one of ten databases, the database being chosen based on amessage time. In some instances, rather than grouping various datacomponents at specific storage areas, event database 1735 includes anindex that tracks identifiers of events and/or fields and of fieldvalues. Selective storage grouping can be referred to as storing data in“buckets”. Bucket definitions can be fixed or defined based on inputfrom a data provider, developer or client. Input and/or automatic rulescan be used to add, merge or delete buckets.

A search engine 1740 can subsequently access and search all or part ofevent database. The search can be performed upon receiving a searchquery from a developer, user or client. In some instances, a definedsearch query is repeatedly performed. Segregation of data into eventsand/or fields can allow for more efficient searching. The search mayinclude, e.g., a request to return values for one or more first fieldsfor all events having specified values (e.g., specific values or valueswithin a specific range) for one or more second fields. To illustrate, adeveloped may request that that sender identifiers be returned for allmessage events having a subject with three or more non-alphanumericcharacters. Upon retrieving the event data of interest, search engine1740 may further process the results (e.g., to obtain an average,frequency, count or other statistic). Search engine 1740 can return thesearch result to the developer, client or user, e.g., via an interface(such as a web interface or app interface) or email.

FIG. 18 illustrates a flowchart of an embodiment of a process 1800 forstoring and using big data. Process 1800 begins at block 1805, wheredata intake 1705 receives data. Schema engine 1710 identifies anapplicable schema at block 1810. Event parser 1820 applies the schema toseparate the data into events at block 1815. Field extractor 1725applies the schema to extract field values from the events at block1820. Storage engine 1730 stores raw data, events and/or field values inevent database 1735 (e.g., by assigning the data, events and/or fieldvalues to buckets based on particular field values) at block 1825.

Search engine 1740 receives a search query from a searcher (e.g.,client, developer or user) at block 1830. The search query can includeone or more criteria which can specify or constrain field values. Searchengine 1740 searches event database 1735 at block 1835. The search canentail searching only some of event database 1735 (e.g., that includingfield values of interest). The search can produce identifiers of eventsof interest. Search engine 1740 may then collect other field values forthose events of interest. A search result can include the collectedother field values and/or a processed version thereof. Search engine1740 returns the search result to the searcher at block 1840.

It will be appreciated that system 1700 and/or process 1800 can bemodified such that schema is not bound to data (or only a portion of theschema is bound to data) immediately following intake. For example,schema could instead be bound prior to or during storage of the data orat a query time (e.g., subsequent to block 1830 of process 1800).

The detailed description that appears above is presented to enable anyperson skilled in the art to make and use the disclosed embodiments, andis provided in the context of a particular application and itsrequirements. Various modifications to the disclosed embodiments will bereadily apparent to those skilled in the art, and the general principlesdefined herein may be applied to other embodiments and applicationswithout departing from the spirit and scope of the disclosedembodiments. Thus, the disclosed embodiments are not limited to theembodiments shown, but are to be accorded the widest scope consistentwith the principles and features disclosed herein.

The data structures and code described in this detailed description aretypically stored on a computer-readable storage medium, which may be anydevice or medium that can store code and/or data for use by a system.The computer-readable storage medium includes, but is not limited to,volatile memory, non-volatile memory, magnetic and optical storagedevices such as disk drives, magnetic tape, CDs (compact discs), DVDs(digital versatile discs or digital video discs), or other media capableof storing code and/or data now known or later developed.

The methods and processes described in the detailed description sectioncan be embodied as code and/or data, which can be stored on anon-transitory computer-readable storage medium as described above. Whena system reads and executes the code and/or data stored on thenon-transitory computer-readable storage medium, the system performs themethods and processes embodied as data structures and code and storedwithin the non-transitory computer-readable storage medium.

Furthermore, the methods and processes described below can be includedin hardware modules. For example, the hardware modules can include, butare not limited to, application-specific integrated circuit (ASIC)chips, field-programmable gate arrays (FPGAs), and otherprogrammable-logic devices now known or later developed. When thehardware modules are activated, the hardware modules perform the methodsand processes included within the hardware modules.

Moreover, the foregoing descriptions of disclosed embodiments have beenpresented only for purposes of illustration and description. They arenot intended to be exhaustive or to limit the disclosed embodiments tothe forms disclosed. Accordingly, many modifications and variations willbe apparent to practitioners skilled in the art.

Additionally, the above disclosure is not intended to limit thedisclosed embodiments. The scope of the disclosed embodiments is definedby the appended claims.

What is claimed is:
 1. A computer-implemented method comprising:receiving, by an app development system, input from a developer definingcomponents of an app; providing, by the app development system, anapplication programming interface (API) for a registry that storesentries representing names, a first set of mappings between the entriesand targets of the components, and a second set of mappings between theentries and registered callers of the components, wherein the first andsecond sets of mappings are configurable through the API; and compilingthe app using values of the first and second sets of mappings.
 2. Thecomputer-implemented method of claim 1, wherein the API includes afunction configured to register a new target of the targets with a newname, in response to an input representing the new name and the newtarget, by adding to the entries a new entry corresponding to the newname and adding to the first set of mappings a new mapping between thenew entry and the new target.
 3. The computer-implemented method ofclaim 1, wherein the API includes a function configured to register anew target of the targets with an existing name, in response to an inputrepresenting the existing name and the new target, by identifying anexisting entry of the entries corresponding to the existing name andadding a new mapping to the first set of mappings, or updating a firstmapping of the first set of mappings to be, between the existing entryand the new target.
 4. The computer-implemented method of claim 1,wherein the API includes a function configured to re-register anexisting target of the targets to have a new name, in response to aninput representing the new name and the existing target, by adding tothe entries a new entry corresponding to the new name and adding a newmapping to the first set of mappings, or updating a first mapping of thefirst set of mappings to be, between the new entry and the existingtarget.
 5. The computer-implemented method of claim 1, wherein thesecond set of mappings represent which of the registered callers areregistered to be notified when events associated with a correspondingone of the entries are detected.
 6. The computer-implemented method ofclaim 1, wherein the API includes a function configured to: receive aninput representing a specified name of the names and a specified caller,and register the specified caller to receive notifications aboutdetected events associated with a particular entry associated with thespecified name.
 7. The computer-implemented method of claim 1, wherein afirst registered caller of the registered callers is registered to benotified when events associated with a corresponding first entry of theentries are detected, the method further comprising: upon detecting afirst event of the events, the first event comprising an update to afirst mapping of the first set of mappings to be between the first entryand a new target of the targets, sending to the registered caller anotification representing the new target, wherein the registered calleris configured to update one or more references of the registered callerto point to the new target.
 8. The computer-implemented method of claim1, the method further comprising hosting the app development system atleast partially in a cloud.
 9. One or more non-transitory computerstorage media storing instructions that, when executed by at least oneprocessor, cause the at least one processor to perform operationscomprising: receiving, by an app development system, input from adeveloper defining components of an app; providing, by the appdevelopment system, an application programming interface (API) for aregistry that stores entries representing names, a first set of mappingsbetween the entries and targets of the components, and a second set ofmappings between the entries and registered callers of the components,wherein the first and second sets of mappings are configurable throughthe API; and compiling the app using values of the first and second setsof mappings.
 10. The one or more non-transitory computer storage mediaof claim 9, wherein the API includes a function configured tore-register an existing target of the targets to have a new name, inresponse to an input representing the new name and the existing target,by adding to the entries a new entry corresponding to the new name andadding a new mapping to the first set of mappings, or updating a firstmapping of the first set of mappings to be, between the new entry andthe existing target.
 11. The one or more non-transitory computer storagemedia of claim 9, wherein the second set of mappings represent which ofthe registered callers are registered to be notified when eventsassociated with a corresponding one of the entries are detected.
 12. Theone or more non-transitory computer storage media of claim 9, whereinthe API includes a function configured to: receive an input representinga specified name of the names and a specified caller, and register thespecified caller to receive notifications about detected eventsassociated with a particular entry associated with the specified name.13. The one or more non-transitory computer storage media of claim 9,wherein a first registered caller of the registered callers isregistered to be notified when events associated with a correspondingfirst entry of the entries are detected, the operations furthercomprising: upon detecting a first event of the events, the first eventcomprising an update to a first mapping of the first set of mappings tobe between the first entry and a new target of the targets, sending tothe registered caller a notification representing the new target,wherein the registered caller is configured to update one or morereferences of the registered caller to point to the new target.
 14. Theone or more non-transitory computer storage media of claim 9, theoperations further comprising hosting the app development system atleast partially in a cloud.
 15. A computer system comprising: at leastone processor; and one or more non-transitory computer storage mediastoring instructions that, when executed by the at least one processor,cause the at least one processor to perform operations comprising:receiving, by an app development system, input from a developer definingcomponents of an app; providing, by the app development system, anapplication programming interface (API) for a registry that storesentries representing names, a first set of mappings between the entriesand targets of the components, and a second set of mappings between theentries and registered callers of the components, wherein the first andsecond sets of mappings are configurable through the API; and compilingthe app using values of the first and second sets of mappings.
 16. Thecomputer system of claim 15, wherein the API includes a functionconfigured to re-register an existing target of the targets to have anew name, in response to an input representing the new name and theexisting target, by adding to the entries a new entry corresponding tothe new name and adding a new mapping to the first set of mappings, orupdating a first mapping of the first set of mappings to be, between thenew entry and the existing target.
 17. The computer system of claim 15,wherein the second set of mappings represent which of the registeredcallers are registered to be notified when events associated with acorresponding one of the entries are detected.
 18. The computer systemof claim 15, wherein the API includes a function configured to: receivean input representing a specified name of the names and a specifiedcaller, and register the specified caller to receive notifications aboutdetected events associated with a particular entry associated with thespecified name.
 19. The computer system of claim 15, wherein a firstregistered caller of the registered callers is registered to be notifiedwhen events associated with a corresponding first entry of the entriesare detected, the operations further comprising: upon detecting a firstevent of the events, the first event comprising an update to a firstmapping of the first set of mappings to be between the first entry and anew target of the targets, sending to the registered caller anotification representing the new target, wherein the registered calleris configured to update one or more references of the registered callerto point to the new target.
 20. The computer system of claim 15, theoperations further comprising hosting the app development system atleast partially in a cloud.